package com.ruibang.glass.material.service.bhbj;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.material.domain.req.ycl.ManagementInventoryReq;
import com.ruibang.glass.material.entity.bhbj.MaterialBHBJManagementInventory;

/**
 * <p>
 * 物料管理入库表 服务类
 * </p>
 *
 * @author mameng
 * @since 2024-04-01
 */
public interface MaterialBHBJManagementInventoryService extends IService<MaterialBHBJManagementInventory> {
    /**
     * 列表
     * @param
     */
    IPage<MaterialBHBJManagementInventory> getPage(ManagementInventoryReq managementInventoryReq);

    void updateMaterialBHBJManagementInventory(MaterialBHBJManagementInventory materialBHBJManagementInventory);

    void updateStatusById(MaterialBHBJManagementInventory materialManagementInventory);

    String saveMaterialBHBJManagementInventory(MaterialBHBJManagementInventory materialManagementInventory);

    MaterialBHBJManagementInventory getDetail(String id);
    /**
     * 库存计算
     * @param
     */
    void updateInHouse(MaterialBHBJManagementInventory materialManagementInventory);

}
